package jm.nj.demo02mian.demo03;
/*
* 定义手机类
*
* 手机类的功能:打电话,发短信,来电显示
* */
public class Phone {
    public void call(){
        System.out.println("打电话");
    }

    public void sendMessage(){
        System.out.println("发短信");
    }

    public void show(){
        System.out.println("显示来电");
    }
}
